<?php defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );

/* JoomLeague League Management and Prediction Game for Joomla!
 * @version $Id: edit_configuration.tpl.php 1126 2008-06-09 05:45:04Z julienv $
 * @package Joomleague
 * @copyright Copyright (C) 2007  JoomLeague
 * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see _joomleague_license.txt
 *  
 * Homepage: http://www.joomleague.de
 * Support: htt://www.joomleague.de/forum/
 * 
 * This file is part of JoomLeague.
 *  
 * JoomLeague is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * Please note that the GPL states that any headers in files and
 * Copyright notices as well as credits in headers, source files
 * and output (screens, prints, etc.) can not be removed.
 * You can extend them with your own credits, though...
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 *
 * The "GNU General Public License" (GPL) is available at
 * http://www.gnu.org/copyleft/gpl.html.
*/ 

?>

<script language="javascript" type="text/javascript">
   function submitbutton(pressbutton) {
            var form = document.adminForm;
              if (pressbutton == 'cancel') {
                   submitform( pressbutton );
                return;
            }
            submitform( pressbutton );
   }
</script>

<form action="index2.php" method="post" name="adminForm">
<div id="right">
	<div id="rightpad">
	
<!-- Header START -->		
		<div id="step">
			<div class="t">
        <div class="t">
          <div class="t"></div>
        </div>
      </div>
      <div class="m" align="left">
				<div class="far-right">
							<div class="button1-left"><div class="help"><a href="http://www.joomleague.de" alt="<?php echo _JL_ADMIN_MANUAL;?>" title="<?php echo _JL_ADMIN_MANUAL;?>" target="blank"><?php echo _JL_ADMIN_MANUAL;?></a></div></div>
							<div class="button1-left"><div class="forum"><a href="http://www.joomleague.de/forum/" alt="<?php echo _JL_ADMIN_FORUM;?>" title="<?php echo _JL_ADMIN_FORUM;?>" target="blank"><?php echo _JL_ADMIN_FORUM;?></a></div></div>
							<div class="button1-left"><div class="about"><a href="http://www.joomleague.de" alt="<?php echo _JL_ADMIN_INFO;?>" title="<?php echo _JL_ADMIN_INFO;?>" target="blank"><?php echo _JL_ADMIN_INFO;?></a></div></div>
				</div>
				<div class="button1-left"><div class="blank"><a href="index2.php?option=com_joomleague"></a></div></div><span class="step"><?php echo _JL_ADMIN_EDIT_CONFIGURATION;?></span>
			</div>
      <div class="b">
        <div class="b">
          <div class="b"></div>
        </div>
      </div>
    </div>
<!-- Header END -->     

    <div id="installer">
    
<!-- Title 1 START --> 
			<div class="t">
        <div class="t">
          <div class="t"></div>
        </div>
      </div>
      <div class="m" align="left">
				<h2><?php echo _JL_ADMIN_EDIT_CONFIGURATION;?></h2>
<!-- Titel 1 END -->

<!-- Content 1 START -->			

	<table cellpadding="4" cellspacing="1" border="0" width="100%" class="adminform">
  <tr>
    <td colspan="2"><b><?php echo _JL_ADMIN_EDIT_FRONTPAGE;?></b> <hr /></td>
  </tr>
  <tr>
    <td width="70%"><?php echo _JL_ADMIN_EDIT_FRONTPAGE_QUICKJUMP;?></td>
    <td width="30%"><?php echo mosHTML::yesnoSelectList( 'cfg_fp_show_quick_jump', '', $jlgConfig['fp_show_quick_jump'] );?></td>
  </tr>
  <tr>
    <td><?php echo _JL_ADMIN_EDIT_FRONTPAGE_SEASON_TABS_LIMIT;?></td>
    <td><input type="text" default="" name="cfg_fp_max_seasons_show" value="<?php echo $jlgConfig['fp_max_seasons_show'];?>" /></td>
  </tr>
  <tr>
    <td><?php echo _JL_ADMIN_EDIT_FRONTPAGE_PROJECT_SEASON_LIMIT;?></td>
    <td><input type="text" default="" name="cfg_fp_max_project_per_season" value="<?php echo $jlgConfig['fp_max_project_per_season'];?>" /></td>
  </tr>
  <tr>
    <td><?php echo _JL_ADMIN_EDIT_FRONTPAGE_PROJECT_SEASON_LOAD_LIMIT;?></td>
    <td><input type="text" default="2" name="cfg_fp_max_project_load_per_season" value="<?php echo $jlgConfig['fp_max_project_load_per_season'];?>" /></td>
  </tr>
  <tr>
    <td><?php echo _JL_ADMIN_EDIT_FRONTPAGE_PROJECT_SEASON_VISIBLE_LIMIT;?></td>
    <td><input type="text" default="1" name="cfg_fp_count_projects_visible" value="<?php echo $jlgConfig['fp_count_projects_visible'];?>" /></td>
  </tr>
    <tr>
    <td colspan="2"><b><?php echo 'If you want to use maps whithin your templates, enter the google api key here.';?></b> <hr /></td>
  </tr>
  <tr>
    <td width="70%"><?php echo 'Google(TM) API key (You receive a unique one for your whole website @ google.com';?></td>
    <td width="30%"><input type="text" default="" name="cfg_google_api_key" value="<?php echo $jlgConfig['google_api_key'];?>" /></td>
  </tr>
  <tr>
    <td colspan="2"><hr /><b><?php echo _JL_ADMIN_EDIT_FORM_CLUBS_CLUBS;?></b> <hr /></td>
  </tr>
  <tr>
    <td align="right"><?php echo _JL_ADMIN_EDIT_CONFIGURATION_CLUB_INFO_UPD_NOTIFY;?></td>
    <td width="30%">
      <?php echo $lists['club_info_update_notify'];?>
    </td>
  </tr>
  <tr>
    <td colspan="2"><hr /><b><?php echo _JL_ADMIN_EDIT_FORM_PLAYGROUNDS_TITLE;?></b> <hr /></td>
  </tr>
  <tr>
    <td width="70%"><?php echo _JL_ADMIN_EDIT_CONFIGURATION_SHOW_PLGND_NEXT;?></td>
    <td width="30%"><?php echo mosHTML::yesnoSelectList( 'cfg_show_playgrounds_next_games', '', $jlgConfig['show_playgrounds_next_games'] );?></td>
  </tr>
   </table>

<!-- Content 1 END -->				

<!-- Info 1 START -->	
<!--		
				<div class="install-body">
    			<div class="t">
            <div class="t">
              <div class="t"></div>
            </div>
          </div>
          <div class="m">
						<fieldset>
							<table class="content">
							<tr>
								<td>&nbsp;
								</td>
							</tr>
							</table>
						</fieldset>
					</div>
          <div class="b">
            <div class="b">
              <div class="b"></div>
            </div>
          </div>
					<div class="clr"></div>
				</div>
-->
<!-- Info 1 END -->

        <div class="clr"></div>
      </div>
      <div class="b">
        <div class="b">
          <div class="b"></div>
        </div>
      </div>
		</div>
	</div>
</div>
<div class="clr"></div>
<input type="hidden" name="option" value="<?php echo JL_OPTION;?>" />
<input type="hidden" name="act" value="config" />
<input type="hidden" name="task" value="" />
</form>
